<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <style>
        .box {
            width: 300px;
            height: 300px;
            border: 1px solid rebeccapurple;
            display: flex;
            flex-wrap: wrap;

        }

        .box div {
            width: 60px;
            border: 1px red dotted;
            box-sizing: border-box;
        }

        .box div:nth-child(1) {
            height: 60px;
            align-self: flex-start;
        }

        .box div:nth-child(2) {
            height: 60px;
            align-self: flex-end;
        }

        .box div:nth-child(3){
            height: 60px;
            align-self: center;
        }

        .box div:nth-child(4){
            height: 60px;
            align-self: baseline;
        }

        .box div:nth-child(5){
            align-self: stretch;
        }



    </style>

</head>

<body>
    <div class="box">
        <div>111</div>
        <div>222</div>
        <div>333</div>
        <div>444</div>
        <div>555</div>

    </div>
</body>

</html>